package com.ny.demo1;

public class Emp {
    private String num;
    private String name;
    private  int age;
    public Emp (String num, String name, int age){
        this.num=num;
        this.name=name;
        this.age=age;
    }
    public String getNum(){
        return num;
    }
    public void setNum(String num){
        this.num=num;
    }
    public String getName(){
        return name;
    }
    public void setName(String num){
        this.name=name;
    }
    public int getAge(){
        return age;
    }
    public void setAge(int age){
        this.age=age;
    }

}
